*
* @param string $html HTML fragment
* @return string
+ * @return-taint tainted
*/
static function stripAllTags( $html ) {
// Use RemexHtml to tokenize $html and extract the text
'wgServerName' => 'example.org',
'wgScriptPath' => '/w',
'wgDBname' => 'example',
- 'wgDBprefix' => '',
+ 'wgDBprefix' => $this->dbPrefix(),
'wgRCFeeds' => [],
'wgRCEngines' => [],
] );
'server_url' => 'https://example.org',
'server_name' => 'example.org',
'server_script_path' => '/w',
- 'wiki' => 'example',
+ 'wiki' => 'example-' . $this->dbPrefix(),
] ),
$line
);